package com.szxy.utils;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;

/**
 * @Auther:zwer
 * @Date:2019/9/11 19:12
 * @Description:com.szxy.pojo
 * @Version:1.0
 **/
public class SolrDocument implements Serializable {

    private String id;
    @JsonProperty("item_title")
    private String title;
    @JsonProperty("item_sell_point")
    private String sell_point;
    @JsonProperty("item_price")
    private String price;
    @JsonProperty("item_image")
    private String image;
    @JsonProperty("item_category_name")
    private String category_name;
    @JsonProperty("desc")
    private String item_desc;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSell_point() {
        return sell_point;
    }

    public void setSell_point(String sell_point) {
        this.sell_point = sell_point;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getCategory_name() {
        return category_name;
    }

    public void setCategory_name(String category_name) {
        this.category_name = category_name;
    }

    public String getItem_desc() {
        return item_desc;
    }

    public void setItem_desc(String item_desc) {
        this.item_desc = item_desc;
    }

    @Override
    public String toString() {
        return "SolrDocument{" +
                "id='" + id + '\'' +
                ", title='" + title + '\'' +
                ", sell_point='" + sell_point + '\'' +
                ", price='" + price + '\'' +
                ", image='" + image + '\'' +
                ", category_name='" + category_name + '\'' +
                ", item_desc='" + item_desc + '\'' +
                '}';
    }
}
